home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
misc
/
bgui12.lha
/
docs
/
buttonclass.doc
< prev
next >
Wrap
Text File
|
1995-06-11
|
3KB
|
90 lines
File: buttonclass.doc
Description: Buttonclass documentation.
Copyright: (C) Copyright 1994-1995 Jaba Development.
(C) Copyright 1994-1995 Jan van den Baard.
All Rights Reserved.
------------------------------------------------------------------------------
TABLE OF CONTENTS
buttonclass/--background--
buttonclass/Methods
buttonclass/Attributes
buttonclass/--background-- buttonclass/--background--
NAME
Class: buttonclass
Superclass: baseclass
Include File: <llibraries/bgui.h>
FUNCTION
To provide a gadget simular to the gadtools.library button kind. The
gadget can either be a normal button or a toggle button. Vectorclass
attributes can be passed at create time to add imagery to the gadget.
The gadget will send the following attributes in it's notification
events:
GA_ID - Gadget object ID.
GA_UserData - Gadget object userdata contents.
GA_Selected - Gadget object selected state.
Please note that the gadget will send out interim notification
messages every single timer tick while the gadget is selected.
buttonclass/Methods buttonclass/Methods
NEW METHODS
None.
CHANGED METHODS
None.
buttonclass/Attributes buttonclass/Attributes
NOTE: The VIT_VectorArray, VIT_BuiltIn, VIT_Pen and VIT_DriPen attributes
are also settable with OM_SET or OM_UPDATE when the button object
has a vector image attached to it.
NAME
GA_Selected - ( BOOL )
FUNCTION
This attributes has an extended applicability. It has been made
get-able to make it easy to inquire about the selected state of an
object.
Default is FALSE. Applicability is (ISGNU).
NAME
BUTTON_Image, BUTTON_SelectedImage -- ( struct Image * )
FUNCTION
To provide a button object width a standard Intuition or BOOPSI image.
The images will be centered inside the object it's hitbox. You can
supply a selected image which is shown when the gadget is selected.
If no selected imagery is specified the normal image is also shown
when the gadget is selected.
This attribute overides the creation of a VectorClass image.
NOTE: Since V39 of the library the images can be changed with OM_SET
and OM_UPDATE. You are responsible to make the images you change
will still fit in the object.
Defaults are NULL. Applicability is (ISU).
NAME
BUTTON_EncloseImage -- ( BOOL ) ** V39 **
FUNCTION
By default the buttonclass keeps a gap between the actual image and
a frame which may be attached to the object. When you specify this tag
as TRUE this gap will not be there and the frame will enclose the
image.
Default is FALSE. Applicability is (I).